//跨域代理前缀
// const API_PROXY_PREFIX='/center-api'
// const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
const BASE_URL = process.env.VUE_APP_API_BASE_URL;
module.exports = {
  LOGIN: `/center-api/admin/admin_user/login`,
  FORWARD: `adv-ocean-api/admin/ocean/tool/forward`,//转发
  SYNCURL:'adv-ocean-api/admin/ocean/tool/sync',//同步接口
  ADVER:'adv-ocean-api/admin/ocean/campaign/select',//获取广告组
  ADVERNOPAGE:'adv-ocean-api/admin/ocean/campaign/get',//获取广告组
  ADVERUPDATE:'2/campaign/update/status/',//批量更改广告组状态接口
  ADVERPAGE:'adv-ocean-api/admin/ocean/campaign/read',//广告组详情
  ACCOUNTURL:'adv-ocean-api/admin/ocean/account/get',//获取广告主账户

  ACCOUNT:'adv-ocean-api/admin/ocean/account/select',//广告账户有分页

  ACCOUNTEDIT:'adv-ocean-api/admin/ocean/account/update',//广告账户编辑

  ADDADURL:'2/campaign/create/',//创建广告组
  EDITADURL:'2/campaign/update/',//修改广告组
  ADURL:'adv-ocean-api/admin/ocean/ad/select',//获取广告计划
  ADPAGE:'adv-ocean-api/admin/ocean/ad/read',//广告计划详情
  SITEURL:'2/tools/site/get/',//落地页站点链接
  THIRDSITE:'2/tools/third_site/get/',//第三方落地页
  ADUPDATE:'2/ad/update/status/',//批量更改计划状态
  ADOFFER:'2/ad/update/bid/',//批量更改计划出价
  ADBUDGET:'2/ad/update/bid/',//批量更改计划预算
  AUDIENCE:'2/tools/estimate_audience/',//受众预估结果
  IESACCOUNT:'2/tools/ies_account_search/',//获取抖音账号
  CITYGET:'adv-ocean-api/admin/ocean/city/get',//获取省市
  DMPURL:'2/dmp/custom_audience/select/',//获取人群包
  CATEGORYURL:'2/tools/interest_action/action/category/',//行为类目词
  KEYWORDSURL:'2/tools/interest_action/action/keyword/',//行为关键词
  INTERESTURL:'2/tools/interest_action/interest/category/',//兴趣类目词
  INTERESTKEY:'2/tools/interest_action/interest/keyword/',//兴趣关键词
  AWEMECATEGORIES:'2/tools/aweme_multi_level_category/get/',//获取抖音分类
  FLOWPACKAGE:'2/tools/union/flow_package/get/',//媒体定向逻辑包
  AWEMELEVEL:'2/tools/aweme_multi_level_category/get/',//抖音类目词
  PACKAGELIST:'adv-ocean-api/admin/ocean/audience_templete/select',//定向包列表
  ADDPACKAGE:'adv-ocean-api/admin/ocean/audience_templete/create',//新建定向包
  EDITPACKAGE:'adv-ocean-api/admin/ocean/audience_templete/update',//编辑定向包
  ADDPLANURL :'2/ad/create/',//新建计划
  EDITPLANURL:'2/ad/update/',//编辑计划
  ADCONVERT:'adv-ocean-api/admin/ocean/ad_convert/get',//转化目标

  ADCONVERTLIST:'adv-ocean-api/admin/ocean/ad_convert/select',//转化目标列表
  CONVERTPAGE:'adv-ocean-api/admin/ocean/ad_convert/read',//转化详情
  // CREATIVE:'2/creative/get/',//广告创意
  CREATIVE:'adv-ocean-api/admin/ocean/creative/select',//广告创意
  VIDEOURL:'2/file/video/get/',//获取创意视频
  VIDEOCOVER:'2/tools/video_cover/suggest/',//获取视频封面
  DYNAMIC: '2/tools/creative_word/select/',//动态词包
  OCTIONTEXT:'2/tools/promotion_card/recommend_title/get/',//行动号召
  AVATAR:'2/advertiser/avatar/get/',//广告组头像
  INDUSTRY:'adv-ocean-api/admin/ocean/industry/tree',//获取广告分类
  UPLOADVIDEO:'adv-ocean-api/admin/ocean/video/upload',//上传视频
  UPLOADCOVER:'adv-ocean-api/admin/ocean/image/upload',//上传图片
  IMGLIST:'2/file/image/get/',//图片素材
  PROGRAM:'2/tools/procedural_package/get/',//程序化创意包
  ADDORIGIN:'2/creative/create_v2/',//新建创意
  EDITORIGIN:'2/creative/update_v2/',//修改创意
  READINFO:'2/creative/read_v2/',//创意详细信息 
  // READINFO:'adv-ocean-api/admin/ocean/creative/read',//创意详细信息
  VIDEOINFO:'2/file/video/get/',//获取视频信息
  IMAGEINFO:'2/file/image/get/',//获取图片信息
  ALLCREATE:'adv-ocean-api/admin/ocean/tool/batch_create_ad_creative',//批量创建广告计划，广告创意
  ALLTASK:'adv-ocean-api/admin/task/select',//主任务列表
  OCEANLIST:'adv-ocean-api/admin/sub_task/ocean_sync/select',//巨量同步接口
  VIDEOLIST:'adv-ocean-api/admin/sub_task/ocean_video_upload/select',//巨量视频接口
  IMAGELIST:'adv-ocean-api/admin/sub_task/ocean_image_upload/select',//巨量图片接口
  CREATELIST:'adv-ocean-api/admin/sub_task/ocean_ad_creative_create/select',//巨量计划创意接口
  OCEANPAGE:'adv-ocean-api/admin/sub_task/ocean_sync/read',//巨量同步详情
  VIDEOPAGE:'adv-ocean-api/admin/sub_task/ocean_video_upload/read',//巨量视频详情
  IMAGEPAGE:'adv-ocean-api/admin/sub_task/ocean_image_upload/read',//巨量图片详情
  CREATEPAGE:'adv-ocean-api/admin/sub_task/ocean_ad_creative_create/read',//巨量计划创意详情
  
  ROUTES: `${BASE_URL}/routes`,
  GOODS: `${BASE_URL}/goods`,
  GOODS_COLUMNS: `${BASE_URL}/columns`,
}
